projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87bdc08
)
Don't write empty URLs to LMX format.
author
robertl
<robertl>
Fri, 4 Apr 2008 15:58:21 +0000
(15:58 +0000)
committer
robertl
<robertl>
Fri, 4 Apr 2008 15:58:21 +0000
(15:58 +0000)
lmx.c
patch
|
blob
|
history
diff --git
a/lmx.c
b/lmx.c
index 42364b31d711d3909d37e05691386737d1cfcc17..5082a0cc06ddcceffe2e864c8653b00fe9520471 100644
(file)
--- a/
lmx.c
+++ b/
lmx.c
@@
-90,7
+90,7
@@
lmx_print(const waypoint *wpt)
}
gbfprintf(ofd, " </lm:coordinates>\n");
- if (wpt->url) {
+ if (wpt->url
&& wpt->url[0]
) {
gbfprintf(ofd, " <lm:mediaLink>\n");
if (wpt->url_link_text)
lmx_write_xml(5,"lm:name", wpt->url_link_text);